package hotel;

import java.util.ArrayList;

public class Hotel {
	private int totalRooms;
	private ArrayList<Integer> rooms = new ArrayList<Integer>();
	private String name;
	private Owner owner;
	
	public Hotel(String inName, Owner inOwner, int norooms){
		name = inName;
		owner = inOwner;
		totalRooms = norooms;
		for(int i = 0; i< 32; i++){
			rooms.add(0);
			rooms.set(i, norooms);
		}
	}
	
	public int getTotalRooms()
	{
		return totalRooms;
	}
	
	public String getName()
	{
		return name;
	}
	
	public Owner getOwner(){
		return owner;
	}
	
	public ArrayList<Integer> getRoomList()
	{
		return rooms;
	}
}
